<?php
// no direct access
defined('_JEXEC') or die;
?>
<form action="<?php echo JRoute::_('index.php');?>" method="post" class="form-inline" role="form">
	<div class="row search<?php echo $moduleclass_sfx ?>">
	  <div class="col-md-12">
	  <label for="mod-search-searchword" class="sr-only"><?php echo $label ?></label>
	    <div class="input-group">
				<input type="text" class="form-control inputbox<?php echo $moduleclass_sfx ?>" name="searchword" id="mod-search-searchword" maxlength="<?php echo $maxlength ?>" placeholder="<?php echo $text ?>">
	      <span class="input-group-btn">
	        <button class="btn btn-default" type="submit"><?php echo $button_text ?> <span class="glyphicon glyphicon-search"></span></button>
	      </span>
	    </div>
	  </div>
	</div>
	<input type="hidden" name="task" value="search" />
	<input type="hidden" name="option" value="com_search" />
	<input type="hidden" name="Itemid" value="<?php echo $mitemid; ?>" />
</form>